home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2000-03-17 | 1.8 KB | 71 lines |
- "FILE"="Xteq Systems X-Setup Plugin 5.0"
- "TYPE"="6"
- "COUNT"="4"
- "UIPATH"="Internet\Internet Explorer\Appearance\"
- "NAME"="Help Menu Options (IE 5.0 only)"
- "LANGUAGE"="VBScript"
- "VERSION"="1.24"
- "TEXT 1"="Show "Tip of the Day" in Help menu"
- "TEXT 2"="Show "Tutorial" in Help menu"
- "TEXT 3"="Show "Send feedback" in Help menu"
- "TEXT 4"="Show "For Netscape..." in Help menu"
- "DESCRIPTION 1"="To show an item in the Help menu, activate it. To hide it, deactivate it."
- "DESCRIPTION 2"="Please note that you need to restart Internet Explorer so the changes can take effect."
- "DESCRIPTION 3"="*IMPORTANT* These options do not work with Internet Explorer 5.01!"
- "AUTHOR"="Xteq Systems"
- "CONTACTURL"="http://www.xteq.com"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"=" "
- "COMMENT 2"=" "
-
-
-
- sPath="HKCU\Software\Policies\Microsoft\Internet Explorer\"
- sTIP="remove tip of the day" 'all dword (1 = remove)
- sTUT="remove tutorial"
- sFED="remove feedback"
- sNET="remove netscape help"
-
-
- Sub Plugin_Initialize
- i=RegReadValue(sPath & sTIP)
- if i<>1 then SetUIElement 1,true
-
- i=RegReadValue(sPath & sTUT)
- if i<>1 then SetUIElement 2,true
-
- i=RegReadValue(sPath & sFED)
- if i<>1 then SetUIElement 3,true
-
- i=RegReadValue(sPath & sNET)
- if i<>1 then SetUIElement 4,true
- End Sub
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- Call WriteIt(1,sTIP)
- Call WriteIt(2,sTUT)
- Call WriteIt(3,sFED)
- Call WriteIt(4,sNET)
- End Sub
-
- Sub WriteIt(ITM,VAL)
- b=GetUIElement(ITM)
- if b=false then
- call RegWriteValue(sPATH & VAL,1,2)
- else
- chk=RegReadValue(sPATH & VAL)
- if IsEmpty(chk)=false then
- Call RegDeleteValue(sPATH & VAL)
- end if
- end if
- end sub
-
- Sub Plugin_Terminate
- End Sub
-
-
-
-